import { requestClient } from '#/api/request'
/**
 *  获取列表
 */
export async function warehouseList(params: object = {}) {
  return requestClient.get('/admin/Warehouse/index', params)
}

/**
 *  编辑
 */
export async function warehouseEdit(params: object = {}) {
  return requestClient.post('/admin/Warehouse/edit', params, { responseReturn: 'raw' })
}

/**
 *  删除
 */
export async function warehouseDel(params: object = {}) {
  return requestClient.delete('/admin/Warehouse/del', params, { responseReturn: 'raw' })
}

/**
 *  获取详细
 */
export async function warehouseInfo(params: object = {}) {
  return requestClient.get('/admin/Warehouse/edit', params)
}
